<template>
  <div>
    <!-- 导航栏 -->
    <div class="nav">
      <van-nav-bar
        title="聊天"
        left-arrow
        @click-left="onClick"
        active-color="#ccc"
        inactive-color="#ccc"
      />
    </div>
  </div>
</template>
<script>
export default {
  data: () => ({}),
  created() {},
  methods: {
     onClick() {
      this.$router.go(-1)
    }
  }
}
</script>
<style lang="less" scoped>
// 导航栏
.nav{
  .van-nav-bar {
    border-bottom:  1px solid #e5e5e5;
  }
  /deep/ .van-icon {
    color:#c2c2c2;
  }
}
</style>
